package com.liyongjian.apidoc.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.liyongjian.apidoc.domain.enumm.LiveDieState;

@Entity
@Table(name = "doc_user")
public class User extends AbstractEntity {

    private static final long serialVersionUID = -5013690784447412826L;

    public String phone;
    public String userName;
    public String password;
    @Column(columnDefinition = "tinyint")
    public LiveDieState state = LiveDieState.LIVE;

    public User() {}


}
